<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="login.css">
</head>
<body>
    <div class="box">
        <div class="login-container">
            <h2>登录</h2>
            <div class="login-box">
                <table>用户名</table>
                <input type="text" placeholder="请输入用户名">
            </div>
            <div class="login-box2">
                <table>密码</table>
                <input type="text" name="" id="" placeholder="请输入密码">
            </div>
            <button >登录</button>
        </div>
    </div>
</body>
<style>

*{
    padding: 0;
    margin: 0;
}
.box{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.login-container{
height: 250px;
width: 300px;
background-color: rgb(152, 195, 245);
border: 2px solid ;
/* display: felx; */
padding: 20px;
}
h2{
    text-align: center;
    margin-bottom: 10px;
}
input{
width: 200px;
height: 25px;
margin: 10px 10px 10px 0;
 padding: 4px;
}
button{
    height: 30px;
    width: 180px;
    margin-top: 10px;
   
}

</style>
</html>